<%--
  Created by IntelliJ IDEA.
  User: sunset
<<<<<<< HEAD
  Date: 2021/8/16
  Time: 21:08
=======
  Date: 2021/8/17
  Time: 20:15
>>>>>>> d76f1d3 (2021暑假实训)
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>天天生鲜</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/main1.css" media="all" >
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/reset1.css" media="all" >
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/index.css" media="all" >
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.12.4.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-ui.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/slide.js"></script>
</head>
<body>
    <div>
        <div class="header_con">
            <div class="header">
                <div class="welcome fl">欢迎来到天天生鲜!</div>
                <div class="fr">
                    <div class="login_btn fl">
                        <a href="${pageContext.request.contextPath}/user/tologin" target="_blank">登录</a>
                        <span>|</span>
                        <a href="${pageContext.request.contextPath}/user/toregister">注册</a>
                    </div>
                    <div class="user_link fl">
                        <span>|</span>
                        <a href="${pageContext.request.contextPath}/user/tologin">用户中心</a>
                        <span>|</span>
                        <a href="${pageContext.request.contextPath}/user/tologin">我的购物车</a>
                        <span>|</span>
                        <a href="${pageContext.request.contextPath}/user/tologin">我的订单</a>
                    </div>
                </div>
            </div>
        </div>
        <div class="search_bar clearfix">
            <a href="${pageContext.request.contextPath}/user/tologin" class="logo fl"><img src="${pageContext.request.contextPath}/images/logo.png"></a>
            <form action="${pageContext.request.contextPath}/user/tologin" method="post" class="search_con fl">
                <input type="text" class="input_text fl" name="name" placeholder="显示全部商品">
                <input type="submit" class="input_btn fr" value="搜索">
            </form>
            <div class="guest_cart fr">
                <a href="${pageContext.request.contextPath}/user/tologin" class="cart_name fl">我的购物车</a>
                <div class="goods_count fl" id="show_count">${number}</div>
            </div>
        </div>
    </div>

    <div>
        <div class="navbar clearfix">
            <div class="subnav_con fl">
                <a href="${pageContext.request.contextPath}/main/index"><h1>全部商品分类</h1></a>
                <span></span>
                <ul class="subnav">
                    <li><a href="${pageContext.request.contextPath}/user/tologin" class="fruit" target="_blank">新鲜水果</a></li>
                    <li><a href="${pageContext.request.contextPath}/user/tologin" class="seafood" target="_blank">海鲜水产</a></li>
                    <li><a href="${pageContext.request.contextPath}/user/tologin" class="meet" target="_blank">猪牛羊肉</a></li>
                    <li><a href="${pageContext.request.contextPath}/user/tologin" class="egg" target="_blank">新鲜蔬菜</a></li>
                    <li><a href="${pageContext.request.contextPath}/user/tologin" class="vegetables" target="_blank">禽类蛋品</a></li>
                    <li><a href="#" class="expect">敬请期待</a></li>
                </ul>
            </div>
        </div>
        <div class="center fl clearfix">
            <div class="slide fl">
                <ul class="slide_pics">
                    <li><img class="img4" src="${pageContext.request.contextPath}/images/01.png" alt="幻灯片"></li>
                    <li><img class="img4" src="${pageContext.request.contextPath}/images/02.png" alt="幻灯片"></li>
                    <li><img class="img4" src="${pageContext.request.contextPath}/images/03.png" alt="幻灯片"></li>
                    <li><img class="img4" src="${pageContext.request.contextPath}/images/04.png" alt="幻灯片"></li>
                </ul>
                <div class="prev"></div>
                <div class="next"></div>
                <ul class="points"></ul>
            </div>
            <div class="adv fl">
                <a href="#"><img class="img5"  src="${pageContext.request.contextPath}/images/avo4.png"></a>
            </div>
            <div class="av1 fl">
                <img class="img2" src="${pageContext.request.contextPath}/images/av.jpg">
            </div>
            <div class="avo fl">
                <img class="img3" src="${pageContext.request.contextPath}/images/avo2.jpg">
            </div>
            <div class="avo fl">
                <img class="img1" src="${pageContext.request.contextPath}/images/avo1.png">
            </div>
        </div>
    </div>
    </body>
</html>
